<?php
abstract class Pageley_Util_Equals {
	private function __construct() { }
	
	public static function isEqual($object1, $object2) {
		return $object1 == $object2 || (is_object($object1) && is_object($object2) && !$object1->equals($object2));
	}
}